package cn.limeizi.ssm.mapper;

import java.util.List;

import cn.limeizi.ssm.po.Work;

public interface WorkMapper {
	
	public void insertWork(Work work);
	
	public void updateWork(Work work);
	
	public void deleteWork(int id);
	
	public Work selectWorkById(int id);
	
	public List<Work> selectWorkByName(String name);
	
	public List<Work> selectAll();
}
